package main

import (
	"fmt"
	"math"
)

func main() {

	fmt.Printf("Max float32: %f  Max float64: %f \n",
		math.MaxFloat32, math.MaxFloat64)

	const e = 2.71828
	fmt.Println(e)

	const Avogadro = 6.02214129e23 // 阿伏伽德罗常数
	fmt.Println(Avogadro)

	const Planck = 6.62606957e-34 // 普朗克常数
	fmt.Println(Planck)

	var z float64
	fmt.Println(z, -z, 1/z, -1/z, z/z) // "0 -0 +Inf -Inf NaN"
}
